class Authorize {
  int id;
  int parentId;
  String code;
  String name;
  String app;
  String menuType;

  Authorize(
      this.id, this.parentId, this.code, this.name, this.app, this.menuType);

  Authorize.fromJson(Map<dynamic, dynamic> json)
      : id = json['id'] as int,
        parentId = json['parentId'] as int,
        code = json['code'] as String,
        name = json['name'] as String,
        app = json['app'] as String,
        menuType = json['menuType'] as String;

  Map<String, dynamic> toJson() {
    return {
      "id": this.id,
      "parentId": this.parentId,
      "code": this.code,
      "name": this.name,
      "app": this.app,
      "menuType": this.menuType,
    };
  }
}

class JumpMapBean {
  JumpBean INBOUND_Checkin;
  JumpBean INBOUND_Tally;
  JumpBean INBOUND_Damage;
  JumpBean INBOUND_LPNPhoto;
  JumpBean INBOUND_Putaway;

  JumpBean OUTBOUND_B2C_Pickup;
  JumpBean OUTBOUND_B2C_Label;
  JumpBean OUTBOUND_B2C_OBLPN;
  JumpBean OUTBOUND_B2C_Trailer;

  JumpBean OUTBOUND_B2B_Pick;
  JumpBean OUTBOUND_B2B_B2BLabel;
  JumpBean OUTBOUND_B2B_PalletTag;
  JumpBean OUTBOUND_B2B_Trailer;

  JumpBean Container_Unload;
  JumpBean Container_Tally;
  JumpBean Container_Putatay;
  JumpBean Container_OBLPN;

  JumpBean Returns_Preprocess;
  JumpBean Returns_FinalProcess;
  JumpBean Returns_Putatay;
  JumpBean Returns_Trailer;

  JumpBean MANAGE_CycleCount;
  JumpBean MANAGE_Transfer;
  JumpBean MANAGE_Adjustment;
  JumpBean MANAGE_Merge;
  JumpBean Task_Damage;
  JumpBean Task_ReTally;
  JumpBean Task_ReMeasure;
  JumpBean Task_CycleCount;
  JumpBean Task_CycleCountSku;
  JumpBean Task_FinalProcess;
  JumpBean Task_ReCheck;
  JumpBean Task_Transfer;

  JumpMapBean({
    this.INBOUND_Checkin,
    this.INBOUND_Tally,
    this.INBOUND_Damage,
    this.INBOUND_LPNPhoto,
    this.INBOUND_Putaway,
    this.OUTBOUND_B2C_Pickup,
    this.OUTBOUND_B2C_Label,
    this.OUTBOUND_B2C_OBLPN,
    this.OUTBOUND_B2C_Trailer,
    this.OUTBOUND_B2B_Pick,
    this.OUTBOUND_B2B_B2BLabel,
    this.OUTBOUND_B2B_PalletTag,
    this.OUTBOUND_B2B_Trailer,
    this.Container_Unload,
    this.Container_Tally,
    this.Container_Putatay,
    this.Container_OBLPN,
    this.Returns_Preprocess,
    this.Returns_FinalProcess,
    this.Returns_Putatay,
    this.Returns_Trailer,
    this.MANAGE_CycleCount,
    this.MANAGE_Transfer,
    this.MANAGE_Adjustment,
    this.MANAGE_Merge,
    this.Task_Damage,
    this.Task_ReTally,
    this.Task_ReMeasure,
    this.Task_CycleCount,
    this.Task_CycleCountSku,
    this.Task_FinalProcess,
    this.Task_ReCheck,
    this.Task_Transfer,
  });

  factory JumpMapBean.fromJson(Map<String, dynamic> json) {
    return JumpMapBean(
      INBOUND_Checkin: json["INBOUND_Checkin"]==null?null: JumpBean.fromJson(json["INBOUND_Checkin"]),
      INBOUND_Tally: json["INBOUND_Tally"]==null?null: JumpBean.fromJson(json["INBOUND_Tally"]),
      INBOUND_Damage: json["INBOUND_Damage"]==null?null: JumpBean.fromJson(json["INBOUND_Damage"]),
      INBOUND_LPNPhoto: json["INBOUND_LPNPhoto"]==null?null: JumpBean.fromJson(json["INBOUND_LPNPhoto"]),
      INBOUND_Putaway: json["INBOUND_Putaway"]==null?null: JumpBean.fromJson(json["INBOUND_Putaway"]),
      OUTBOUND_B2C_Pickup: json["OUTBOUND_B2C_Pickup"]==null?null: JumpBean.fromJson(json["OUTBOUND_B2C_Pickup"]),
      OUTBOUND_B2C_Label: json["OUTBOUND_B2C_Label"]==null?null: JumpBean.fromJson(json["OUTBOUND_B2C_Label"]),
      OUTBOUND_B2C_OBLPN: json["OUTBOUND_B2C_OBLPN"]==null?null: JumpBean.fromJson(json["OUTBOUND_B2C_OBLPN"]),
      OUTBOUND_B2C_Trailer: json["OUTBOUND_B2C_Trailer"]==null?null: JumpBean.fromJson(json["OUTBOUND_B2C_Trailer"]),
      OUTBOUND_B2B_Pick: json["OUTBOUND_B2B_Pick"]==null?null: JumpBean.fromJson(json["OUTBOUND_B2B_Pick"]),
      OUTBOUND_B2B_B2BLabel: json["OUTBOUND_B2B_B2BLabel"]==null?null: JumpBean.fromJson(json["OUTBOUND_B2B_B2BLabel"]),
      OUTBOUND_B2B_PalletTag: json["OUTBOUND_B2B_PalletTag"]==null?null: JumpBean.fromJson(json["OUTBOUND_B2B_PalletTag"]),
      OUTBOUND_B2B_Trailer: json["OUTBOUND_B2B_Trailer"]==null?null: JumpBean.fromJson(json["OUTBOUND_B2B_Trailer"]),
      Container_Unload: json["Container_Unload"]==null?null: JumpBean.fromJson(json["Container_Unload"]),
      Container_Tally: json["Container_Tally"]==null?null: JumpBean.fromJson(json["Container_Tally"]),
      Container_Putatay: json["Container_Putatay"]==null?null: JumpBean.fromJson(json["Container_Putatay"]),
      Container_OBLPN: json["Container_OBLPN"]==null?null: JumpBean.fromJson(json["Container_OBLPN"]),
      Returns_Preprocess: json["Returns_Preprocess"]==null?null: JumpBean.fromJson(json["Returns_Preprocess"]),
      Returns_FinalProcess: json["Returns_FinalProcess"]==null?null: JumpBean.fromJson(json["Returns_FinalProcess"]),
      Returns_Putatay: json["Returns_Putatay"]==null?null: JumpBean.fromJson(json["Returns_Putatay"]),
      Returns_Trailer: json["Returns_Trailer"]==null?null: JumpBean.fromJson(json["Returns_Trailer"]),
      MANAGE_CycleCount: json["MANAGE_CycleCount"]==null?null: JumpBean.fromJson(json["MANAGE_CycleCount"]),
      MANAGE_Transfer: json["MANAGE_Transfer"]==null?null: JumpBean.fromJson(json["MANAGE_Transfer"]),
      MANAGE_Adjustment: json["MANAGE_Adjustment"]==null?null: JumpBean.fromJson(json["MANAGE_Adjustment"]),
      MANAGE_Merge: json["MANAGE_Merge"]==null?null: JumpBean.fromJson(json["MANAGE_Merge"]),
      Task_Damage: json["Task_Damage"]==null?null: JumpBean.fromJson(json["Task_Damage"]),
      Task_ReTally: json["Task_ReTally"]==null?null: JumpBean.fromJson(json["Task_ReTally"]),
      Task_ReMeasure: json["Task_ReMeasure"]==null?null: JumpBean.fromJson(json["Task_ReMeasure"]),
      Task_CycleCount: json["Task_CycleCount"]==null?null: JumpBean.fromJson(json["Task_CycleCount"]),
      Task_CycleCountSku: json["Task_CycleCountSku"]==null?null: JumpBean.fromJson(json["Task_CycleCountSku"]),
      Task_FinalProcess: json["Task_FinalProcess"]==null?null: JumpBean.fromJson(json["Task_FinalProcess"]),
      Task_ReCheck: json["Task_ReCheck"]==null?null: JumpBean.fromJson(json["Task_ReCheck"]),
      Task_Transfer: json["Task_Transfer"]==null?null: JumpBean.fromJson(json["Task_Transfer"]),
    );
  }

  Map<String, dynamic> toJson() {
    return {
      "INBOUND_Checkin": this.INBOUND_Checkin,
      "INBOUND_Tally": this.INBOUND_Tally,
      "INBOUND_Damage": this.INBOUND_Damage,
      "INBOUND_LPNPhoto": this.INBOUND_LPNPhoto,
      "INBOUND_Putaway": this.INBOUND_Putaway,
      "OUTBOUND_B2C_Pickup": this.OUTBOUND_B2C_Pickup,
      "OUTBOUND_B2C_Label": this.OUTBOUND_B2C_Label,
      "OUTBOUND_B2C_OBLPN": this.OUTBOUND_B2C_OBLPN,
      "OUTBOUND_B2C_Trailer": this.OUTBOUND_B2C_Trailer,
      "OUTBOUND_B2B_Pick": this.OUTBOUND_B2B_Pick,
      "OUTBOUND_B2B_B2BLabel": this.OUTBOUND_B2B_B2BLabel,
      "OUTBOUND_B2B_PalletTag": this.OUTBOUND_B2B_PalletTag,
      "OUTBOUND_B2B_Trailer": this.OUTBOUND_B2B_Trailer,
      "Container_Unload": this.Container_Unload,
      "Container_Tally": this.Container_Tally,
      "Container_Putatay": this.Container_Putatay,
      "Container_OBLPN": this.Container_OBLPN,
      "Returns_Preprocess": this.Returns_Preprocess,
      "Returns_FinalProcess": this.Returns_FinalProcess,
      "Returns_Putatay": this.Returns_Putatay,
      "Returns_Trailer": this.Returns_Trailer,
      "MANAGE_CycleCount": this.MANAGE_CycleCount,
      "MANAGE_Transfer": this.MANAGE_Transfer,
      "MANAGE_Adjustment": this.MANAGE_Adjustment,
      "MANAGE_Merge": this.MANAGE_Merge,
      "Task_Damage": this.Task_Damage,
      "Task_ReTally": this.Task_ReTally,
      "Task_ReMeasure": this.Task_ReMeasure,
      "Task_CycleCount": this.Task_CycleCount,
      "Task_CycleCountSku": this.Task_CycleCountSku,
      "Task_FinalProcess": this.Task_FinalProcess,
      "Task_ReCheck": this.Task_ReCheck,
      "Task_Transfer": this.Task_Transfer,
    };
  }
}


class JumpBean {
  String name;
  int version;
  String classActivity;
  List<JumpBean> data;

  JumpBean({
    this.name,
    this.version,
    this.classActivity,
    this.data,
  });

  factory JumpBean.fromJson(Map<String, dynamic> json) {
    return JumpBean(
      name: json["name"],
      version: json["version"]==null?0:json["version"],
      classActivity: json["classActivity"],
      data: json['data'] == null ? null : (new List<dynamic>.from(json['data']).map((userJson) => JumpBean.fromJson(userJson)).toList())
    );
  }

  Map<String, dynamic> toJson() {
    return {
      "name": this.name,
      "version": this.version,
      "classActivity": this.classActivity,
      "data": this.data,
    };
  }
}
